/* 
 *	Copyright (C) 2009-2010 miaohua
 *	http://code.google.com/p/lrcshower/
 *
 *  This Program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *   
 *  This Program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *  GNU General Public License for more details.
 *   
 *  You should have received a copy of the GNU General Public License
 *  along with GNU Make; see the file COPYING.  If not, write to
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
 *  http://www.gnu.org/copyleft/gpl.html
 *
 */

#pragma once
#include "afxwin.h"
#include "CStaticEx.h"


struct IBaseFilter;

// CWinLrcShowDlg dialog
// Show lrc
class CWinLrcShowDlg : public CDialog
{
     DECLARE_DYNAMIC(CWinLrcShowDlg)

public:
     CWinLrcShowDlg(CWnd* pParent = NULL);   // standard constructor
     virtual ~CWinLrcShowDlg();
  
     // Show or Hide search lrc prompt
     void ShowSearchLrcPrompt();
     void HideSearchLrcPrompt();

     // Dialog Data
     enum { IDD = IDD_WINLRC_DLG };

protected:
     virtual BOOL OnInitDialog();
     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

     afx_msg void OnStnClickedSearchLrcHand();
     afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
     DECLARE_MESSAGE_MAP()

     // Right click menu message handlers
     afx_msg void OnSearchLrcOnline();
     afx_msg void OnRelateLocalLrcFile();
     afx_msg void OnKaraokeModeShow();
     afx_msg void OnGradientModeShow();
     afx_msg void OnReloadLrc();
     afx_msg void OnChgShowMode();
     afx_msg void OnLrcTopMost();
     afx_msg void OnWinAutoSize();
     afx_msg void OnLoadAssignedLrc();
     afx_msg void OnLrcFilterOption();


private:
     CMenu m_RClkMenu;
     CStaticEx m_HandDownloadLrc;

};
